﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="job_apply_list.aspx.cs" Inherits="JMcms.Web.Plugin.Job.admin.job_apply_list" %>

<%@ Import Namespace="JMcms.Common" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>招聘信息管理</title>
    <link href="../../../scripts/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="../../../<%=sysConfig.webmanagepath %>/skin/default/style.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/pagination.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="../../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../scripts/artdialog/dialog-plus-min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../<%=sysConfig.webmanagepath %>/js/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../../<%=sysConfig.webmanagepath %>/js/common.js"></script>
</head>
<body class="mainbody">
    <form id="form1" runat="server">
        <!--导航栏-->
        <div class="location">
            <a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
            <a href="../../../<%=sysConfig.webmanagepath %>/center.aspx" class="home"><i></i><span>首页</span></a> <i class="arrow"></i><span>插件管理</span> <i class="arrow"></i><span>应聘信息管理</span>
            <i class="arrow"></i><span>应聘信息</span>
        </div>
        <!--/导航栏-->
        <!--工具栏-->
        <div class="toolbar-wrap">
            <div id="floatHead" class="toolbar">
                <div class="l-list">
                    <ul class="icon-list">
                        <li><a class="all" href="javascript:;" onclick="checkAll(this);"><i></i><span>全选</span></a></li>
                        <li>
                            <asp:LinkButton ID="btnDelete" runat="server" CssClass="del" OnClientClick="return ExePostBack('btnDelete');"
                                OnClick="btnDelete_Click"><i></i><span>删除</span></asp:LinkButton></li>
                    </ul>
                    <div class="menu-list">
                        <div class="rule-single-select">
                            <asp:DropDownList ID="ddlJobId" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlJobId_SelectedIndexChanged">
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--/工具栏-->
        <!--列表-->
        <asp:Repeater ID="rptList" runat="server">
            <HeaderTemplate>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
                    <tr>
                        <th width="6%">选择
                        </th>
                        <th width="12%" align="left">姓名
                        </th>
                        <th width="12%">应聘职位
                        </th>
                        <th width="4%">性别
                        </th>
                        <th width="4%">年龄
                        </th>
                        <th width="12%">电话
                        </th>
                        <th width="12%">Email
                        </th>
                        <th width="22%">联系地址
                        </th>
                        <th width="12%">日期
                        </th>
                        <th width="12%">操作
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td align="center">
                        <asp:CheckBox ID="chkId" CssClass="checkall" runat="server" />
                        <asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" />
                    </td>
                    <td>
                        <a href="job_apply_view.aspx?action=<%#JMEnums.ActionEnum.View %>&id=<%#Eval("id")%>">
                            <%#Eval("title")%></a>
                    </td>
                    <td align="center">
                        <%#GetModel(Convert.ToInt32( Eval("job_id"))).title %>
                    </td>
                    <td align="center">
                        <%#Eval("sex")%>
                    </td>
                    <td align="center">
                        <%#Eval("age")%>
                    </td>
                    <td align="center">
                        <%#Eval("tel")%>
                    </td>
                    <td align="center">
                        <%#Eval("email")%>
                    </td>
                    <td align="center">
                        <%#Eval("address")%>
                    </td>
                    <td align="center">
                        <%#string.Format("{0:yyyy-MM-dd}", Eval("add_time"))%>
                    </td>
                    <td align="center">
                        <a href="job_apply_view.aspx?action=<%#JMEnums.ActionEnum.View %>&id=<%#Eval("id")%>">查看</a>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"10\">暂无记录</td></tr>" : ""%>
            </table>
            </FooterTemplate>
        </asp:Repeater>
        <!--/列表-->
        <!--内容底部-->
        <div class="line20">
        </div>
        <div class="pagelist">
            <div class="l-btns">
                <span>显示</span><asp:TextBox ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);"
                    OnTextChanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
            </div>
            <div id="PageContent" runat="server" class="default">
            </div>
        </div>
        <!--/内容底部-->
    </form>
</body>
</html>
